<%@ page language="java" contentType="text/html; charset=UTF-8"	pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>详细</title>
</head>
<body>


	<div class="container-fluid">
		<div class="modal-header">
			<button type="button" class="close" data-ng-click="Model.cancel()" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
			<h5>{{Model.title}}</h5>
		</div>
		<div class="modal-body">

			<div class="container-fluid" style="padding: 0px;">
				<form class="form-horizontal" name="backcenter_person_single_form">
					<div class="row">
						<div class="col-sm-4">
							<div class="form-group form-group-sm has-warning">
								<label for="backcenter_person_single_form_itemName" class="col-sm-4 control-label">姓名</label>
								<div class="col-sm-8">
									<input type="text" class="form-control"
										data-ng-model="Model.dataMaster.rows[Model.dataMaster.currentIndex].sName.value"
										id="backcenter_person_single_form_itemName" name="sName"
										required>
								</div>
							</div>
						</div>
						<div class="col-sm-4">
							<div class="form-group form-group-sm">
								<label for="backcenter_person_single_form_itemNo" class="col-sm-4 control-label">编码</label>
								<div class="col-sm-8">
									<input type="text" class="form-control"
										data-ng-model="Model.dataMaster.rows[Model.dataMaster.currentIndex].sCode.value"
										id="backcenter_person_single_form_itemNo"
										name="sCode">
								</div>
							</div>
						</div>
						<div class="col-sm-4">
							<div class="form-group form-group-sm">
								<label 
									class="col-sm-4 control-label">锁定</label>
								<div class="col-sm-8">
								<input type="checkbox" class="form-control"
									data-ng-model="Model.dataMaster.rows[Model.dataMaster.currentIndex].sValidState.value"
									bootstrap-switch data-size="small" name="sValidState"
									data-ng-true-value="-1" data-ng-false-value="1">
								</div>
							</div>
						</div>
					</div>
					<div class="row">
						<div class="col-sm-4">
							<div class="form-group form-group-sm">
								<label class="col-sm-4 control-label">身份证号</label>
								<div class="col-sm-8">
									<input type="text" class="form-control" 
										data-ng-model="Model.dataMaster.rows[Model.dataMaster.currentIndex].sIDCard.value" 
										name="sIDCard"
										>
								</div>
							</div>
						</div>
						<div class="col-sm-4">
							<div class="form-group form-group-sm">
								<label class="col-sm-4 control-label">英文名称</label>
								<div class="col-sm-8">
									<input type="text" class="form-control"
										data-ng-model="Model.dataMaster.rows[Model.dataMaster.currentIndex].sEnglishName.value" name="sEnglishName">
								</div>
							</div>
						</div>
					</div>
					
					<div class="row">
						<div class="col-sm-4">
							<div class="form-group form-group-sm">
								<label for="backcenter_person_single_form_orderDate"
									class="col-sm-4 control-label">出生日期</label>
								<div class="col-sm-8">
										<input type="text" class="form-control"
											id="backcenter_person_single_form_orderDate"
											simple-datepicker orientation="bottom auto"
											data-ng-model="Model.dataMaster.rows[Model.dataMaster.currentIndex].sBirthday.value"
											name="sBirthday" placeholder="yyyy-MM-dd">
								</div>
							</div>
						</div>
						<div class="col-sm-4">
							<div class="form-group form-group-sm">
								<label for="backcenter_person_single_form_orderDate1"
									class="col-sm-4 control-label">工作日期</label>
								<div class="col-sm-8">
										<input type="text" class="form-control"
											id="backcenter_person_single_form_orderDate1"
											simple-datepicker orientation="bottom auto"
											data-ng-model="Model.dataMaster.rows[Model.dataMaster.currentIndex].sJoinDate.value"
											name="sJoinDate" placeholder="yyyy-MM-dd">
								</div>
							</div>
						</div>
						
					</div>
					<div class="row">
						<div class="col-sm-4">
							<div class="form-group form-group-sm">
								<label class="col-sm-4 control-label">性别</label>
								<div class="col-sm-8">
									<select class="form-control"  data-ng-init="dataSex=['','男','女']"
											data-ng-options="o for o in dataSex"
											data-ng-model="Model.dataMaster.rows[Model.dataMaster.currentIndex].sSex.value" name="sSex"
										>
									</select>
									
								</div>
							</div>
						</div>
						<div class="col-sm-4">
							<div class="form-group form-group-sm">
								<label class="col-sm-4 control-label">婚姻状况</label>
								<div class="col-sm-8">
									<select class="form-control"  data-ng-init="dataMarriage=['','未婚','已婚','离异','丧偶']"
											data-ng-options="o for o in dataMarriage"
											data-ng-model="Model.dataMaster.rows[Model.dataMaster.currentIndex].sMarriage.value" 
											name="sMarriage"
										>
									</select>
								</div>
							</div>
						
						</div>
					</div>
					<div class="row">
						<div class="col-sm-4">
							<div class="form-group form-group-sm has-warning">
								<label class="col-sm-4 control-label">登录名</label>
								<div class="col-sm-8">
									<input type="text" class="form-control"
										data-ng-model="Model.dataMaster.rows[Model.dataMaster.currentIndex].sLoginName.value" name="sLoginName" required>
								</div>
							</div>
						</div>
					<div class="col-sm-4">
						<div class="form-group form-group-sm">
							<label class="col-sm-4 control-label">电子邮件</label>
							<div class="col-sm-8">
								<input type="text" class="form-control" 
									data-ng-model="Model.dataMaster.rows[Model.dataMaster.currentIndex].sMail.value" 
									name="sMail"
									>
							</div>
						</div>
					
					</div>
					<div class="col-sm-4">
						<div class="form-group form-group-sm">
							<label class="col-sm-4 control-label">移动电话</label>
							<div class="col-sm-8">
								<input type="text" class="form-control" 
									data-ng-model="Model.dataMaster.rows[Model.dataMaster.currentIndex].sMobilePhone.value" 
									name="sMobilePhone"
									>
							</div>
						</div>
					</div>
					</div>

				</form>
			
				<uib-tabset> 
				<uib-tab heading="基本信息"> <br>
				<form class="form-horizontal" name="backcenter_person_single_form_baseinfo">
					<div class="row">
						<div class="col-sm-8">
							<div class="row">
								<div class="col-sm-6">
									<div class="form-group form-group-sm">
										<label class="col-sm-4 control-label">职称</label>
										<div class="col-sm-8">
											<input type="text" class="form-control"
												data-ng-model="Model.dataMaster.rows[Model.dataMaster.currentIndex].sTitle.value"
												name="sTitle">
										</div>
									</div>
								</div>
								<div class="col-sm-6">
									<div class="form-group form-group-sm">
										<label class="col-sm-4 control-label">学历</label>
										<div class="col-sm-8">
											<input type="text" class="form-control"
												data-ng-model="Model.dataMaster.rows[Model.dataMaster.currentIndex].sDegree.value"
												name="sDegree">
										</div>
									</div>
								</div>
							</div>
							<div class="row">
								<div class="col-sm-12">
									<div class="form-group form-group-sm">
										<label class="col-sm-2 control-label">毕业院校</label>
										<div class="col-sm-10">
											<input type="text" class="form-control"
												data-ng-model="Model.dataMaster.rows[Model.dataMaster.currentIndex].sGraduateSchool.value"
												name="sGraduateSchool">
										</div>
									</div>
								</div>
							</div>
							<div class="row">
								<div class="col-sm-6">
									<div class="form-group form-group-sm">
										<label class="col-sm-4 control-label">专业</label>
										<div class="col-sm-8">
											<input type="text" class="form-control"
												data-ng-model="Model.dataMaster.rows[Model.dataMaster.currentIndex].sSpeciality.value"
												name="sSpeciality">
										</div>
									</div>
								</div>
								<div class="col-sm-6">
									<div class="form-group form-group-sm">
										<label class="col-sm-4 control-label">学年制</label>
										<div class="col-sm-8">
											<input type="text" class="form-control"
												data-ng-model="Model.dataMaster.rows[Model.dataMaster.currentIndex].sSchoolLength.value"
												name="sSchoolLength">
										</div>
									</div>
								</div>
							</div>
							<div class="row">
								<div class="col-sm-6">
									<div class="form-group form-group-sm hidden">
										<label class="col-sm-4 control-label">图片路径</label>
										<div class="col-sm-8">
											<input type="text" class="form-control"
												data-ng-model="Model.dataMaster.rows[Model.dataMaster.currentIndex].images.value"
												name="images">
										</div>
									</div>
								</div>
							</div>
						</div>
						<div class="col-sm-4">
							<a href="" ng-click="Model.triggerImagesClick()">
							<img class="img-responsive" alt="点击添加商品图片" ng-src="{{imgServerUrl}}{{Model.dataMaster.rows[Model.dataMaster.currentIndex].images.value}}" style="width: 242px; height: 200px;">
							</a>
						</div>
					</div>
				</form>

				</uib-tab>
				<uib-tab heading="联系地址"><br>
				<form class="form-horizontal" name="backcenter_person_single_form_address">
					<div class="row">
						<div class="col-sm-4">
							<div class="form-group form-group-sm">
								<label class="col-sm-4 control-label">办公电话</label>
								<div class="col-sm-8">
									<input type="text" class="form-control"
										data-ng-model="Model.dataMaster.rows[Model.dataMaster.currentIndex].sOfficePhone.value" name="sOfficePhone"
										>
								</div>
							</div>
						</div>
						<div class="col-sm-4">
							<div class="form-group form-group-sm">
								<label class="col-sm-4 control-label">QQ</label>
								<div class="col-sm-8">
									<input type="text" class="form-control"
										data-ng-model="Model.dataMaster.rows[Model.dataMaster.currentIndex].sQQ.value" name="sQQ"
										>
								</div>
							</div>
						</div>
						<div class="col-sm-4">
							<div class="form-group form-group-sm">
								<label class="col-sm-4 control-label">MSN</label>
								<div class="col-sm-8">
									<input type="text" class="form-control"
										data-ng-model="Model.dataMaster.rows[Model.dataMaster.currentIndex].sMsn.value" name="sMsn"
										>
								</div>
							</div>
						</div>
					</div>
					<div class="row">
						<div class="col-sm-4">
							<div class="form-group form-group-sm">
								<label class="col-sm-4 control-label">家庭电话</label>
								<div class="col-sm-8">
									<input type="text" class="form-control"
										data-ng-model="Model.dataMaster.rows[Model.dataMaster.currentIndex].sFamilyPhone.value" name="sFamilyPhone"
										>
								</div>
							</div>
						</div>
						<div class="col-sm-4">
							<div class="form-group form-group-sm">
								<label class="col-sm-4 control-label">邮编</label>
								<div class="col-sm-8">
									<input type="text" class="form-control"
										data-ng-model="Model.dataMaster.rows[Model.dataMaster.currentIndex].sZip.value"
										name="sZip" >
								</div>
							</div>
						</div>
					</div>
					<div class="row">
						<div class="col-sm-8">
							<div class="form-group form-group-sm">
								<label class="col-sm-2 control-label">家庭住址</label>
								<div class="col-sm-10">
									<input type="text" class="form-control"
										data-ng-model="Model.dataMaster.rows[Model.dataMaster.currentIndex].sFamilyAddress.value" name="sFamilyAddress"
										>
								</div>
							</div>
						</div>
					</div>
					
				</form>
				</uib-tab> 
				<uib-tab heading="描述"><br>
				<form class="form-horizontal" name="backcenter_person_single_form_description">
					<div class="row">
						<div class="col-sm-12">
							<div class="form-group">
								<label for="backcenter_person_single_form_comments"
									class="col-sm-1 control-label">描述</label>
								<div class="col-sm-11">
									<textarea rows="3" class="form-control" name="sDescription"
										data-ng-model="Model.dataMaster.rows[Model.dataMaster.currentIndex].sDescription.value"
										id="backcenter_person_single_form_comments">
									</textarea>
								</div>
							</div>

						</div>
					</div>
				</form>
				</uib-tab> 
				</uib-tabset>



			</div>

			<pre hidden="true">
			[backcenter_person_single_form.systemCode.$dirty]:{{backcenter_person_single_form.systemCode.$dirty}}
			[backcenter_person_single_form.systemCode.$valid]:{{backcenter_person_single_form.systemCode.$valid}}
			[backcenter_person_single_form.systemCode.$error]:{{backcenter_person_single_form.systemCode.$error}}
			</pre>


		</div>
		<!-- modal-body结束 -->

		<div class="modal-footer">
			<button class="btn btn-primary"
			data-ng-disabled="backcenter_person_single_form.sLoginName.$dirty && backcenter_person_single_form.sLoginName.$invalid || backcenter_person_single_form.sLoginName.$error.required 
			|| backcenter_person_single_form.sName.$dirty && backcenter_person_single_form.sName.$invalid || backcenter_person_single_form.sName.$error.required 
			"
				data-ng-click="Model.ok()">确定</button>
			<button class="btn btn-warning" data-ng-click="Model.cancel()">取消</button>
		</div>

	</div>




</body>
</html>